#!/bin/bash

[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh


#添加git的自动完成命令功能
if [ -f ~/.git-completion.bash ]; then
    source ~/.git-completion.bash
fi

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function

if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
    source /usr/local/bin/virtualenvwrapper.sh
fi

if [ -f ~/.aliasrc ]; then
    source ~/.aliasrc
fi

ulimit -c unlimited

bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'



[ -f ~/.fzf.bash ] && source ~/.fzf.bash

#添加git的自动完成命令功能
if [ -f ~/.path.bash ]; then
    source ~/.path.bash
fi